//
//  SGFocusImageItem.m
//  SGFocusImageFrame
//
//  Created by Shane Gao on 17/6/12.
//  Copyright (c) 2012 Shane Gao. All rights reserved.
//

#import "SGFocusImageItem.h"

@implementation SGFocusImageItem
@synthesize title =  _title;
@synthesize url =  _url;
@synthesize image =  _image;
@synthesize tag =  _tag;
@synthesize adType =  _adType;
@synthesize imageUrl =  _imageUrl;
@synthesize adId =  _adId;

- (void)dealloc
{
    [_title release];
    [_image release];
    [super dealloc];
}

- (id)initWithTitle:(NSString *)title imageUrl:(NSString *)imageUrl tag:(NSInteger)tag url:(NSString *)url adType:(NSInteger)adType adId:(NSString*)adId
{
    self = [super init];
    if (self) {
        self.title = title;
        //self.image = image;
        self.tag = tag;
        self.url = url;
        self.adType = adType;
        self.imageUrl =imageUrl;
        self.adId =adId;
    }
    
    return self;
}

@end
